package cn.iocoder.yudao.module.crm.controller.admin.task.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - CRM 任务单分页 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TaskPageRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6368")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "下发时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("下发时间")
    private LocalDateTime issueTime;

    @Schema(description = "任务单类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("任务单类型名称")
    private String taskTypeName;

    @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "5369")
    @ExcelProperty("客户名称")
    private String customerName;

    @Schema(description = "合同名称", example = "20019")
    @ExcelProperty("合同名称")
    private String contractName;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "16713")
    @ExcelProperty("产品名称")
    private String productName;

    @Schema(description = "处理人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "3644")
    @ExcelProperty("用户名称")
    private String username;

    @Schema(description = "处理时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("处理时间")
    private LocalDateTime dealTime;

    @Schema(description = "是否需要审核", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否需要审核")
    private Integer isApprover;

    @Schema(description = "处理状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("处理状态")
    private String reviewStatus;
}